<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<h1>抽奖页面</h1>
		
		<script type="text/javascript">
			var u = document.referrer;	//获取是否为空
			if(u==""){
				document.write("你没有资格抽奖");
				document.write("<h1>5秒之后跳转至首页</h1>")
				setTimeout("location.href='chop2.html'",5000);
			}else{
				document.write("恭喜你，中奖了，请提供一下银行卡号和密码");
			}
		</script>
	</body>
</html>
